import request from '../utils/request'

//登录
export function doLogin(data) {
  return request({
    url: '/login/do_login',
    method: 'post',
    data
  })
}

//退出登录
export function logout(data) {
  return request({
    url: '/login/logout',
    method: 'post',
    data
  })
}

//用户信息
export function loginUserMess(data) {
  return request({
    url: '/login/login_user_mess',
    method: 'post',
    data
  })
}